<template>
  <div class="card">
    <div class="title">{{ title }}</div>
    <slot></slot>
  </div>
</template>

<script setup lang="ts">
const props = defineProps({
  title: {
    type: String,
    required: false
  }
})
</script>

<style lang="less" scoped>
.card {
  width: 100%;
  height: 100%;
  .title {
    font-size: 15px;
    padding-bottom: 30px;
  }
}
</style>
